﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DoNewsWebSEO.aspx.cs" Inherits="DoNewsWebSEO" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link type="text/css" href="css/style.css" rel="stylesheet" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/lib.js"></script>
    <script type="text/javascript">
        $(function () { BindBtn(); $("#txtUrl").focus(); top.ResetFrmAutoHeight(); });
        function CheckInput() {

            var name = $("#txtUrl");
            if ($.isEmpty(name.val())) {
                alert("请输入文章网址！");
                name.focus();
                return false;
            }
            if (name.val().split("\n").length > 50) {
                alert("文章网址最多输入50行！");
                name.focus();
                return false;
            }
            Loading("show");
            return true;
        }
        function ResetPage() {
            top.$("#DialogIframe").dialog('close');
            var btn = top.$("#mainFrame").contents().find("#btnReset");
            $(btn).click();
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="conBox">
        <table class="dialogTable">
            <tr>
                <th>
                    文章网址：
                </th>
                <td>
                    <asp:TextBox ID="txtUrl" runat="server" CssClass="txtbox" Width="480" Height="150" TextMode="MultiLine"></asp:TextBox>
                    <span>*</span>
                </td>
            </tr>
            <tr>
                <th>
                </th>
                <td>
                    <span>一行一个网址，一次最多50行，网址格式要求完整标准，如:http://www.baidu.com</span>
                </td>
            </tr>
            <tr>
                <td style="line-height: 30px;" colspan="2" align="center">
                    <asp:Button ID="btnSubmit" runat="server" Text="提 交" OnClientClick="return CheckInput();"
                        OnClick="btnSubmit_Click" CssClass="button" />
                    <input type="reset" class="button" value="关 闭" onclick="top.$('#DialogIframe').dialog('close');" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
